package spzx.service;

import com.atguigu.spzx.model.dto.product.CategoryBrandDto;
import com.atguigu.spzx.model.entity.product.Category;
import com.atguigu.spzx.model.vo.product.CategoryExcelVo;
import com.github.pagehelper.PageInfo;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface CategoryService {
    List<Category> findByParentId(Long parentId);

    List<CategoryExcelVo> findAllCategoryVoList();

    void upload(MultipartFile file);

    void download(HttpServletResponse response);


    List<Category> findCategoryTree(Long pid);
}
